Nexevo-only features
Three call modes — auto / passthrough / agent
Switch by the `model` field: `nexevo-auto` (default routing), a real model id (passthrough), `nexevo/agent` (Agent mode).
python
# Three Nexevo call modes — switch by changing the `model` field.
from openai import OpenAI
client = OpenAI(
api_key=os.environ["NEXEVO_API_KEY"],
base_url="https://api.nexevo.ai/v1",
)
# Mode 1: nexevo-auto (recommended) — we pick the model, average 60% savings
client.chat.completions.create(
model="nexevo-auto",
messages=[{"role": "user", "content": "What's the weather?"}],
)
# Mode 2: passthrough — pin a specific real model (upstream price + 3%)
client.chat.completions.create(
model="claude-opus-4-7", # or gpt-5 / gemini-2.5-pro / deepseek-chat ...
messages=[{"role": "user", "content": "..."}],
)
# Mode 3: nexevo/agent — multi-step + browser + Python sandbox + self-verify
client.chat.completions.create(
model="nexevo/agent",
messages=[{"role": "user", "content": "Research OpenRouter 2026 pricing vs competitors"}],
)