# OhMyGPT API

> One API key for 250+ models through OpenAI Chat Completions, OpenAI Responses, Anthropic Messages and Gemini compatible endpoints at https://api.ohmygpt.com. Requests are charged in Credits (1 USD = 250,000 Credits).

## Docs

- [Integration skill](https://api.ohmygpt.com/skill.md): endpoints and base URL per SDK, Claude Code, Codex, opencode and Cursor setup, routing, cost, errors. Install it as an Agent Skill: `mkdir -p ~/.claude/skills/ohmygpt && curl -fsSL https://api.ohmygpt.com/skill.md -o ~/.claude/skills/ohmygpt/SKILL.md`
- [Models](https://api.ohmygpt.com/v1/models): live model IDs, the endpoints each one accepts, and shutdown dates
- [Models and prices](https://www.ohmygpt.com/models.md): every model with context length and price; each model's page (`https://www.ohmygpt.com/models/<model id>.md`) adds every price item, the providers and an example request
- [Rankings](https://www.ohmygpt.com/rankings.md): models by capability score and by share of tokens served this week
- [Documentation](https://www.ohmygpt.com/docs.md): guides and API reference, each page also in Markdown at its URL plus `.md`; every page is listed at https://www.ohmygpt.com/docs/llms.txt
