The response is forwarded directly from the upstream provider. For non-streaming requests this is a JSON object; for streaming it is a series of SSE events. Both follow the OpenAI wire format.
curlhttps://api.pokkit.dev/v1/chat/completions\-H"Authorization: Bearer <YOUR_API_KEY>"\-H"Content-Type: application/json"\-d'{ "model": "claude-sonnet-4-6", "messages": [ { "role": "system", "content": "You are a concise assistant." }, { "role": "user", "content": "What is the capital of France?" } ], "max_tokens": 64 }'
1 2 3 4 5 6 7 8 910
curlhttps://api.pokkit.dev/v1/chat/completions\-H"Authorization: Bearer <YOUR_API_KEY>"\-H"Content-Type: application/json"\-d'{ "model": "Qwen/Qwen3.5-397B-A17B", "messages": [ { "role": "user", "content": "Write a short Python function that reverses a string." } ], "temperature": 0.2 }'
123456789
curlhttps://api.pokkit.dev/v1/chat/completions\-H"Authorization: Bearer <YOUR_API_KEY>"\-H"Content-Type: application/json"\-d'{ "model": "anthropic/claude-sonnet-4-6", "messages": [ { "role": "user", "content": "Summarize the history of the internet in three sentences." } ] }'