Create chat completions using OpenAI-compatible format
Create conversational AI responses using our chat completions endpoint.Documentation Index
Fetch the complete documentation index at: https://docs.electronhub.ai/llms.txt
Use this file to discover all available pages before exploring further.
POST /chat/completions
Generate responses for conversational AI applications.
Enter your API key (starts with 'ek-')
Model to use for completion
"gpt-4o"
List of messages
Enable streaming
Maximum tokens to generate
Sampling temperature
0 <= x <= 2Nucleus sampling
0 <= x <= 1Top-k sampling
-2 <= x <= 2-2 <= x <= 2List of tools
none, auto Enable web search
Reasoning effort level
low, medium, high