Guides
Guides
Short, working how-tos for calling AI models through one OpenAI-compatible API. For every endpoint and field, see the docs.
- Switch from the OpenAI API to NicrronChange two lines, keep your code, and call every other model with the same key.
- Move from OpenRouter to NicrronSame OpenAI-compatible shape, fallback list and provider routing. What to change and what to check.
- Fall back to another model when one failsKeep answering through outages and rate limits with a fallback list and provider routing.
- Use Claude with the OpenAI SDKCall Anthropic's Claude models from Python or TypeScript with the OpenAI SDK you already use.
- Use Grok with the OpenAI SDKCall xAI's Grok models from Python or TypeScript with the OpenAI SDK you already use.
- Use DeepSeek with the OpenAI SDKCall DeepSeek's DeepSeek models from Python or TypeScript with the OpenAI SDK you already use.
- Use Kimi with the OpenAI SDKCall Moonshot AI's Kimi models from Python or TypeScript with the OpenAI SDK you already use.
- Use GLM with the OpenAI SDKCall Z.ai's GLM models from Python or TypeScript with the OpenAI SDK you already use.
- Use Mistral with the OpenAI SDKCall Mistral AI's Mistral models from Python or TypeScript with the OpenAI SDK you already use.