# OhMyGPT Mock

> Free deterministic test model answered by the gateway itself. Replies with fixed text, or calls the first declared tool, on every protocol, streaming or not. Use it to verify an integration before switching to a real model.

Agent resources: the index of everything machine-readable is https://www.ohmygpt.com/llms.txt; the integration skill (endpoints, auth, SDK and coding-tool setup) is https://www.ohmygpt.com/skill.md.

- Model ID: `ohmygpt/mock`
- Live status and providers as JSON, no key needed: https://api.ohmygpt.com/v1/models/ohmygpt/mock
- Released: 2026-10-30
- Context: 128K tokens
- Max output: 4K tokens
- Input: text; output: text

## Prices (USD)

| Item | Price | Unit |
| --- | --- | --- |
| Input | Free | per 1M tokens |
| Output | Free | per 1M tokens |
| Cache read | Free | per 1M tokens |

## Providers

Without a prefix each request goes to the best-priced healthy provider. To pin one, send the model as `<provider>:ohmygpt/mock`.

| Provider | Pinned model ID | Location | Input | Output | Trains on your data |
| --- | --- | --- | --- | --- | --- |
| OhMyGPT | `ohmygpt:ohmygpt/mock` | In-process | Free | Free | no |

## Endpoints

| API | Request | model |
| --- | --- | --- |
| OpenAI Chat | POST https://api.ohmygpt.com/v1/chat/completions | `ohmygpt/mock` |
| OpenAI Responses | POST https://api.ohmygpt.com/v1/responses | `ohmygpt/mock` |
| Anthropic Messages | POST https://api.ohmygpt.com/v1/messages | `ohmygpt/mock` |
| Google Gemini | POST https://api.ohmygpt.com/v1/models/ohmygpt/mock:generateContent | `ohmygpt/mock` |

## Example

```bash
curl https://api.ohmygpt.com/v1/chat/completions \
  -H "Authorization: Bearer $OHMYGPT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "ohmygpt/mock",
    "messages": [
      {
        "role": "user",
        "content": "Hello"
      }
    ]
  }'
```

Web page: https://www.ohmygpt.com/models/ohmygpt/mock
