Stop Wasting $500/Month on LLM Test Costs

Reduce development overhead by 95% with high-fidelity mocking. Swap one line of code and test for free in local environments.

import openai

# Just change the base URL

openai.base_url = "https://api.mockllm.io/v1"

openai.api_key = "mock-key"

response = openai.chat.completions.create(

model="gpt-5.3",

messages=[{"role": "user", "content": "Hello"}]

)

schedule

High API Latency

Stop waiting seconds for responses during local development loops. Get sub-millisecond replies instantly.

payments

Variable Testing Costs

Stop paying full production prices for every prompt iteration and bug fix. Mocking is 100% free.

block

Rate Limit Throttling

Avoid hitting provider limits while running automated CI/CD test suites or parallel unit tests.

Built for Modern Teams

  • check

    Latency Simulation

    Test how your UI handles real-world provider slowness.

  • check

    Error Injection

    Force 429s, 500s, and connection timeouts with headers.

  • check

    Semantic Caching

    Instant responses for logically identical prompts.

mockllm --simulate
POST /v1/chat/completions
"model": "gpt-5.3",
Simulating...
200 OK12ms
Live
schedule
Latency SimulationActive
bug_report
Error InjectionStandby
429500Timeout
memory
Semantic CacheHit
0ms
// Response preview
"content": "Hello! How can I help...",
"model": "gpt-5.3-mock",
Requests: 1,234Avg: 8ms
Connected

Integrate in 60 Seconds

Zero SDK overhead. Zero dependency bloat.

1

Redirect Base URL

Swap your provider URL for the MockLLM endpoint.

2

Define Behaviors

Set latency rules or response schemas in our dashboard.

3

Test Locally

Run tests without burning your OpenAI or Anthropic credits.

Individual

$0

Perfect for hobbyists and solo devs.

check_circleUp to 1,000 requests/day
check_circleBasic latency simulation
cancelAdvanced error injection
Start for Free
Most Popular
Pro Plan

$49/mo

For professional teams scaling fast.

check_circleUnlimited requests
check_circleTeam collaboration & RBAC
check_circleEnterprise error injection
Go Pro