OpenAI Responses
Use the OpenAI Responses API (/v1/responses) with GPT models through NekoRouter — the format Codex uses.
The newer OpenAI format. Codex talks to NekoRouter in this format.
| Setting | Value |
|---|---|
| Base URL | https://nekorouter.cc/v1 |
| Endpoint | POST /v1/responses |
| Auth | Authorization: Bearer YOUR_NEKO_KEY |
| Models | GPT models — see GPT |
Python
from openai import OpenAI
client = OpenAI(api_key="YOUR_NEKO_KEY", base_url="https://nekorouter.cc/v1")
r = client.responses.create(model="gpt-6-sol", input="Say hello in three languages.")
print(r.output_text)
curl
curl https://nekorouter.cc/v1/responses \
-H "Authorization: Bearer $NEKO_API_KEY" -H "Content-Type: application/json" \
-d '{"model":"gpt-6-sol","input":"Hello!"}'
Verified with gpt-6-sol. For Gemini and DeepSeek use Chat Completions.
Model IDs and prices: Pricing.