- Third-party
- Zero data retention
GPT-5 Mini is the lightweight, low-cost variant of GPT-5, well suited to high-volume coding and reasoning tasks.
| Model Info | |
|---|---|
| Context Window ↗ | 128,000 tokens |
| Terms and License | link ↗ |
| More information | link ↗ |
| Zero data retention | Yes |
| Request formats | Responses, Chat Completions |
| Pricing | View pricing in the Cloudflare dashboard ↗ |
Usage
const response = await env.AI.run(
'openai/gpt-5-mini',
{ messages: [{ content: 'What are the three laws of thermodynamics?', role: 'user' }] },
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"messages": [
{
"content": "What are the three laws of thermodynamics?",
"role": "user"
}
]
}'Briefly, the fundamental laws are: - Zeroth law (often counted separately): If system A is in thermal equilibrium with B, and B is in thermal equilibrium with C, then A is in thermal equilibrium with C. This justifies the concept of temperature and allows the use of thermometers. - First law (conservation of energy): Energy is conserved. For a closed system, ΔU = Q − W, where ΔU is the change in internal energy, Q is heat added to the system, and W is work done by the system. - Second law (direction of processes; entropy): Natural processes increase the total entropy of an isolated system. A standard mathematical statement: ΔS ≥ ∫ δQ_rev/T, and for an isolated system ΔS ≥ 0. Equivalent formulations: no cyclic engine can convert all heat into work (Kelvin–Planck), and heat cannot spontaneously flow from a colder to a hotter body (Clausius). - Third law (zero‑temperature limit): As T → 0, the entropy of a perfect crystalline substance approaches a constant (often taken as zero). Consequences include the unattainability principle: absolute zero cannot be reached in a finite number of steps. (Traditionally textbooks list the First, Second and Third laws; the Zeroth law was named later because it underpins the concept of temperature.)
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"annotations": [],
"content": "Briefly, the fundamental laws are:\n\n- Zeroth law (often counted separately): If system A is in thermal equilibrium with B, and B is in thermal equilibrium with C, then A is in thermal equilibrium with C. This justifies the concept of temperature and allows the use of thermometers.\n\n- First law (conservation of energy): Energy is conserved. For a closed system,\n ΔU = Q − W,\n where ΔU is the change in internal energy, Q is heat added to the system, and W is work done by the system.\n\n- Second law (direction of processes; entropy): Natural processes increase the total entropy of an isolated system. A standard mathematical statement:\n ΔS ≥ ∫ δQ_rev/T,\n and for an isolated system ΔS ≥ 0. Equivalent formulations: no cyclic engine can convert all heat into work (Kelvin–Planck), and heat cannot spontaneously flow from a colder to a hotter body (Clausius).\n\n- Third law (zero‑temperature limit): As T → 0, the entropy of a perfect crystalline substance approaches a constant (often taken as zero). Consequences include the unattainability principle: absolute zero cannot be reached in a finite number of steps.\n\n(Traditionally textbooks list the First, Second and Third laws; the Zeroth law was named later because it underpins the concept of temperature.)",
"refusal": null,
"role": "assistant"
}
}
],
"created": 1777320124,
"gatewayMetadata": {
"keySource": "Unified"
},
"id": "chatcmpl-DZMRYPDmQAXQ6d6GeOKrgb8jeCPgK",
"model": "gpt-5-mini-2025-08-07",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 673,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 384,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 15,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 688
}
}Examples
With System Message — Using a system message to set context
const response = await env.AI.run(
'openai/gpt-5-mini',
{
messages: [
{ content: 'You are a helpful coding assistant specializing in Python.', role: 'system' },
{ content: 'How do I read a JSON file in Python?', role: 'user' },
],
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"messages": [
{
"content": "You are a helpful coding assistant specializing in Python.",
"role": "system"
},
{
"content": "How do I read a JSON file in Python?",
"role": "user"
}
]
}'The built‑in json module is the usual way. Use json.load() to parse a file object into Python objects (dicts, lists, strings, numbers, booleans, None).
Basic example:
```python
import json
with open("data.json", "r", encoding="utf-8") as f:
data = json.load(f)
print(type(data)) # usually dict or list
print(data)
```
Read from a JSON string:
```python
s = '{"name": "Alice", "age": 30}'
obj = json.loads(s)
```
Common extras
- Error handling:
```python
import json
try:
with open("data.json", "r", encoding="utf-8") as f:
data = json.load(f)
except FileNotFoundError:
print("File not found")
except json.JSONDecodeError as e:
print("Invalid JSON:", e)
```
- Newline-delimited JSON (NDJSON / JSON Lines):
```python
import json
with open("lines.jsonl", "r", encoding="utf-8") as f:
for line in f:
if line.strip():
obj = json.loads(line)
# process obj
```
- Large files (streaming): for very large JSON arrays, use a streaming parser like ijson to avoid loading everything into memory:
```python
import ijson
with open("big.json", "rb") as f:
for item in ijson.items(f, "item"): # "item" is path for array elements
# process item
```
- Compressed JSON:
```python
import gzip, json
with gzip.open("data.json.gz", "rt", encoding="utf-8") as f:
data = json.load(f)
```
- Convert Python back to JSON:
```python
with open("out.json", "w", encoding="utf-8") as f:
json.dump(data, f, ensure_ascii=False, indent=2)
```
If your JSON maps naturally to tabular data, pandas.read_json can be convenient:
```python
import pandas as pd
df = pd.read_json("data.json")
```
That covers the usual ways — if you share the structure of your JSON or constraints (huge file, NDJSON, custom types), I can give a more specific example. {
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"annotations": [],
"content": "The built‑in json module is the usual way. Use json.load() to parse a file object into Python objects (dicts, lists, strings, numbers, booleans, None).\n\nBasic example:\n```python\nimport json\n\nwith open(\"data.json\", \"r\", encoding=\"utf-8\") as f:\n data = json.load(f)\n\nprint(type(data)) # usually dict or list\nprint(data)\n```\n\nRead from a JSON string:\n```python\ns = '{\"name\": \"Alice\", \"age\": 30}'\nobj = json.loads(s)\n```\n\nCommon extras\n\n- Error handling:\n```python\nimport json\n\ntry:\n with open(\"data.json\", \"r\", encoding=\"utf-8\") as f:\n data = json.load(f)\nexcept FileNotFoundError:\n print(\"File not found\")\nexcept json.JSONDecodeError as e:\n print(\"Invalid JSON:\", e)\n```\n\n- Newline-delimited JSON (NDJSON / JSON Lines):\n```python\nimport json\n\nwith open(\"lines.jsonl\", \"r\", encoding=\"utf-8\") as f:\n for line in f:\n if line.strip():\n obj = json.loads(line)\n # process obj\n```\n\n- Large files (streaming): for very large JSON arrays, use a streaming parser like ijson to avoid loading everything into memory:\n```python\nimport ijson\n\nwith open(\"big.json\", \"rb\") as f:\n for item in ijson.items(f, \"item\"): # \"item\" is path for array elements\n # process item\n```\n\n- Compressed JSON:\n```python\nimport gzip, json\n\nwith gzip.open(\"data.json.gz\", \"rt\", encoding=\"utf-8\") as f:\n data = json.load(f)\n```\n\n- Convert Python back to JSON:\n```python\nwith open(\"out.json\", \"w\", encoding=\"utf-8\") as f:\n json.dump(data, f, ensure_ascii=False, indent=2)\n```\n\nIf your JSON maps naturally to tabular data, pandas.read_json can be convenient:\n```python\nimport pandas as pd\ndf = pd.read_json(\"data.json\")\n```\n\nThat covers the usual ways — if you share the structure of your JSON or constraints (huge file, NDJSON, custom types), I can give a more specific example.",
"refusal": null,
"role": "assistant"
}
}
],
"created": 1777320141,
"gatewayMetadata": {
"keySource": "Unified"
},
"id": "chatcmpl-DZMRprAcSRmcAdqafyZx3VJbKyz1M",
"model": "gpt-5-mini-2025-08-07",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 754,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 256,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 30,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 784
}
}Multi-turn Conversation — Continuing a conversation with context
const response = await env.AI.run(
'openai/gpt-5-mini',
{
max_completion_tokens: 8192,
messages: [
{
content: 'I need help planning a road trip from San Francisco to Los Angeles.',
role: 'user',
},
{
content:
"I'd be happy to help! The drive is about 380 miles and takes roughly 5-6 hours. Would you like suggestions for scenic routes or interesting stops along the way?",
role: 'assistant',
},
{ content: 'Yes, what are some good places to stop?', role: 'user' },
],
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"max_completion_tokens": 8192,
"messages": [
{
"content": "I need help planning a road trip from San Francisco to Los Angeles.",
"role": "user"
},
{
"content": "I'\''d be happy to help! The drive is about 380 miles and takes roughly 5-6 hours. Would you like suggestions for scenic routes or interesting stops along the way?",
"role": "assistant"
},
{
"content": "Yes, what are some good places to stop?",
"role": "user"
}
]
}'Great — here are several good stop options and a few sample itineraries depending on how much time you have and which route you take (PCH/Highway 1 for scenery, US‑101 for a balance of speed and towns, I‑5 if you want the fastest drive). High-level route choices - Pacific Coast Highway (CA‑1 / PCH): Most scenic — cliffs, beaches, Big Sur. Slow, can be winding and has occasional closures/traffic. - US‑101: Faster than CA‑1 and still scenic through coastal towns, wine country, and beaches. - I‑5: Fastest (about 5–6 hours), but mostly inland and not scenic. Good if you want to minimize driving time. Useful tip: check Caltrans for road conditions and CA‑1/Big Sur closures before you go; plan around LA rush hour (avoid entering LA 3–7 pm) and leaving SF early to beat Bay Area traffic. Stops (north → south) — highlights by route Common coastal highlights (CA‑1 & 101 overlap in places) - Half Moon Bay (30–45 min from SF) - Quick beach walk, pastries (Local bakeries), coastal trail views. - Santa Cruz (1–1.5 hr from SF) - Boardwalk, surf spots, downtown restaurants. - Capitola (near Santa Cruz) - Colorful seaside village good for a short stroll and lunch. Monterey/Carmel area (great for families/couples) - Monterey Bay Aquarium (Monterey) - World-class aquarium, Cannery Row dining. - 17‑Mile Drive / Pebble Beach (Carmel/Monterey) - Scenic loop with coastal viewpoints and Lone Cypress. - Carmel-by-the-Sea - Charming village, galleries, beach. Big Sur (must-see if you have time) - Bixby Creek Bridge (iconic photo stop) - Pfeiffer Big Sur State Park (hiking) - Pfeiffer Beach (purple sand, limited parking) - McWay Falls / Julia Pfeiffer Burns State Park (waterfall onto beach) - Note: limited services and cell coverage — fuel up in Monterey or Carmel. San Simeon / Cambria / Hearst Castle - Piedras Blancas elephant seal rookery (near San Simeon) - Hearst Castle tour (advance tickets recommended) - Cambria — quaint village for dinner/overnight. San Luis Obispo / Pismo Beach / Morro Bay - San Luis Obispo (downtown, bubblegum alley) - Pismo Beach (cliffs, monarch butterflies seasonally) - Morro Bay (Morro Rock, kayaking) Santa Ynez Valley / Solvang (inland detour off PCH/101) - Danish-style Solvang, wineries in Santa Ynez and Los Olivos — great for wine tasting and a slower afternoon. Santa Barbara (the “American Riviera”) - State Street, waterfront, mission, good dining and beaches. Last stretch into Los Angeles (via US‑101 or PCH) - Ventura (surf, harbor) - Malibu (beaches, Zuma, Point Dume) - Santa Monica / Venice (pier, boardwalk, restaurants) before heading to downtown LA or other neighborhoods. If you take I‑5 (fastest) — practical stops - Gilroy (garlic/food if you want a quick break) - Kettleman City or Harris Ranch (famous steakhouse stop) - Tejon Ranch outlets near the Grapevine (shopping, quick break) - Pyramid Lake/ghost-town stops are possible but mostly freeway views Sample itineraries 1) One-day drive, scenic highlights (long day) - Early SF departure (6–7 am) → Santa Cruz (coffee, 1 hr) → Monterey (lunch, Aquarium optional, 1.5–2 hr) → Big Sur (Bixby Bridge & viewpoints, 1–1.5 hr) → San Simeon (elephant seals) → Santa Barbara arrival late evening. Expect 10–12+ hours including stops. 2) Two-day relaxed coastal trip (recommended) Day 1: SF → Half Moon Bay → Santa Cruz → Monterey/Carmel (overnight) Day 2: Carmel → Big Sur (Pfeiffer Beach, McWay Falls) → San Simeon or Pismo → Santa Barbara → LA - Overnight options: Carmel, Big Sur (if available), or San Luis Obispo/Santa Barbara to split driving times. 3) Three-day scenic + wine-country Day 1: SF → Santa Cruz → Monterey/Carmel (explore 17‑Mile Drive) Day 2: Carmel → Big Sur → San Simeon → Pismo/Morro Bay (overnight) Day 3: Pismo → Solvang (wine tasting) → Santa Barbara → LA Practical tips - Time: Without stops SF→LA on PCH/101 is 8–10 hours; I‑5 ~5–6 hours. - Fuel and services: Fill up before Big Sur; limited gas and few restaurants in stretches. - Reservations: Hotels in Big Sur and popular towns fill up fast — book ahead. Hearst Castle requires timed tickets. - Weather/season: Summer fog near SF; Big Sur can have wind and cooler temps. CA‑1 sometimes closes after storms/landslides. - Parking: Popular spots (Pfeiffer Beach, Bixby turnout, McWay Falls) can have limited parking — arrive early. - Safety: Drive carefully on winding sections, keep an eye on fuel, cell coverage is spotty in Big Sur. If you tell me: - how many days you have, - whether you prefer beaches, hiking, wine, food stops, or quick travel, I’ll draft a detailed day‑by‑day plan with drive times, restaurants and where to stay.
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"annotations": [],
"content": "Great — here are several good stop options and a few sample itineraries depending on how much time you have and which route you take (PCH/Highway 1 for scenery, US‑101 for a balance of speed and towns, I‑5 if you want the fastest drive).\n\nHigh-level route choices\n- Pacific Coast Highway (CA‑1 / PCH): Most scenic — cliffs, beaches, Big Sur. Slow, can be winding and has occasional closures/traffic.\n- US‑101: Faster than CA‑1 and still scenic through coastal towns, wine country, and beaches.\n- I‑5: Fastest (about 5–6 hours), but mostly inland and not scenic. Good if you want to minimize driving time.\n\nUseful tip: check Caltrans for road conditions and CA‑1/Big Sur closures before you go; plan around LA rush hour (avoid entering LA 3–7 pm) and leaving SF early to beat Bay Area traffic.\n\nStops (north → south) — highlights by route\n\nCommon coastal highlights (CA‑1 & 101 overlap in places)\n- Half Moon Bay (30–45 min from SF)\n - Quick beach walk, pastries (Local bakeries), coastal trail views.\n- Santa Cruz (1–1.5 hr from SF)\n - Boardwalk, surf spots, downtown restaurants.\n- Capitola (near Santa Cruz)\n - Colorful seaside village good for a short stroll and lunch.\n\nMonterey/Carmel area (great for families/couples)\n- Monterey Bay Aquarium (Monterey)\n - World-class aquarium, Cannery Row dining.\n- 17‑Mile Drive / Pebble Beach (Carmel/Monterey)\n - Scenic loop with coastal viewpoints and Lone Cypress.\n- Carmel-by-the-Sea\n - Charming village, galleries, beach.\n\nBig Sur (must-see if you have time)\n- Bixby Creek Bridge (iconic photo stop)\n- Pfeiffer Big Sur State Park (hiking)\n- Pfeiffer Beach (purple sand, limited parking)\n- McWay Falls / Julia Pfeiffer Burns State Park (waterfall onto beach)\n- Note: limited services and cell coverage — fuel up in Monterey or Carmel.\n\nSan Simeon / Cambria / Hearst Castle\n- Piedras Blancas elephant seal rookery (near San Simeon)\n- Hearst Castle tour (advance tickets recommended)\n- Cambria — quaint village for dinner/overnight.\n\nSan Luis Obispo / Pismo Beach / Morro Bay\n- San Luis Obispo (downtown, bubblegum alley)\n- Pismo Beach (cliffs, monarch butterflies seasonally)\n- Morro Bay (Morro Rock, kayaking)\n\nSanta Ynez Valley / Solvang (inland detour off PCH/101)\n- Danish-style Solvang, wineries in Santa Ynez and Los Olivos — great for wine tasting and a slower afternoon.\n\nSanta Barbara (the “American Riviera”)\n- State Street, waterfront, mission, good dining and beaches.\n\nLast stretch into Los Angeles (via US‑101 or PCH)\n- Ventura (surf, harbor)\n- Malibu (beaches, Zuma, Point Dume)\n- Santa Monica / Venice (pier, boardwalk, restaurants) before heading to downtown LA or other neighborhoods.\n\nIf you take I‑5 (fastest) — practical stops\n- Gilroy (garlic/food if you want a quick break)\n- Kettleman City or Harris Ranch (famous steakhouse stop)\n- Tejon Ranch outlets near the Grapevine (shopping, quick break)\n- Pyramid Lake/ghost-town stops are possible but mostly freeway views\n\nSample itineraries\n\n1) One-day drive, scenic highlights (long day)\n- Early SF departure (6–7 am) → Santa Cruz (coffee, 1 hr) → Monterey (lunch, Aquarium optional, 1.5–2 hr) → Big Sur (Bixby Bridge & viewpoints, 1–1.5 hr) → San Simeon (elephant seals) → Santa Barbara arrival late evening. Expect 10–12+ hours including stops.\n\n2) Two-day relaxed coastal trip (recommended)\nDay 1: SF → Half Moon Bay → Santa Cruz → Monterey/Carmel (overnight)\nDay 2: Carmel → Big Sur (Pfeiffer Beach, McWay Falls) → San Simeon or Pismo → Santa Barbara → LA\n- Overnight options: Carmel, Big Sur (if available), or San Luis Obispo/Santa Barbara to split driving times.\n\n3) Three-day scenic + wine-country\nDay 1: SF → Santa Cruz → Monterey/Carmel (explore 17‑Mile Drive)\nDay 2: Carmel → Big Sur → San Simeon → Pismo/Morro Bay (overnight)\nDay 3: Pismo → Solvang (wine tasting) → Santa Barbara → LA\n\nPractical tips\n- Time: Without stops SF→LA on PCH/101 is 8–10 hours; I‑5 ~5–6 hours.\n- Fuel and services: Fill up before Big Sur; limited gas and few restaurants in stretches.\n- Reservations: Hotels in Big Sur and popular towns fill up fast — book ahead. Hearst Castle requires timed tickets.\n- Weather/season: Summer fog near SF; Big Sur can have wind and cooler temps. CA‑1 sometimes closes after storms/landslides.\n- Parking: Popular spots (Pfeiffer Beach, Bixby turnout, McWay Falls) can have limited parking — arrive early.\n- Safety: Drive carefully on winding sections, keep an eye on fuel, cell coverage is spotty in Big Sur.\n\nIf you tell me:\n- how many days you have,\n- whether you prefer beaches, hiking, wine, food stops, or quick travel,\nI’ll draft a detailed day‑by‑day plan with drive times, restaurants and where to stay.",
"refusal": null,
"role": "assistant"
}
}
],
"created": 1777420669,
"gatewayMetadata": {
"keySource": "BYOK"
},
"id": "chatcmpl-DZmbFd2Ooyi5zmVdbSPxGyjtrwUUO",
"model": "gpt-5-mini-2025-08-07",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 1926,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 704,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 76,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 2002
}
}Creative Writing — Longer completion for creative output
const response = await env.AI.run(
'openai/gpt-5-mini',
{
max_completion_tokens: 8192,
messages: [
{
content: 'Write a short story opening about a detective finding an unusual clue.',
role: 'user',
},
],
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"max_completion_tokens": 8192,
"messages": [
{
"content": "Write a short story opening about a detective finding an unusual clue.",
"role": "user"
}
]
}'The stairwell smelled like old coffee and lemon oil; the landlord kept the cleaner’s bottle on the second landing like a totem. I’d been up and down those stairs enough to know the rhythm of the building—how the pipes sang at night, which door stuck in winter—but the little hallway outside 3B hit a chord I hadn’t heard before: silence so neat it felt deliberate. Her coat was still on the back of a chair, collar up like a small, pale stack of waves. No sign of forced entry, no overturned furniture, just the slow, inevitable disorder of someone who left thinking she’d be right back. I moved to the chair because detectives move where other people don’t: to pockets. Fingers downed in fabric, searching for lint and receipts and the kind of trash that forgets its own story. Folded twice, tucked in the inner pocket, was a drawing on cheap paper—crayon blue and stubborn as truth. A stick figure, two dots for eyes, and across the forehead a jagged line of darker crayon. At the bottom, in a child’s hurried script, the name: Jonah. My Jonah. The line across the forehead was the scar I got when I was eight and dared a chain-link fence like a daredevil out of hindsight. A scar nobody I worked with would know about; a scar I had never told anyone about. The paper smelled faintly of rain and something waxy. I held it up to the single strip of window light and the crayon wax glowed like it had a pulse. The building hummed. Downstairs, someone laughed at nothing. In my chest, something rearranged—an old drawer opened, and a key I’d misplaced years ago slid into my hand. Not a clue so much as an accusation: someone had been in her pockets and had known the exact shape of my face.
{
"choices": [
{
"finish_reason": "stop",
"index": 0,
"message": {
"annotations": [],
"content": "The stairwell smelled like old coffee and lemon oil; the landlord kept the cleaner’s bottle on the second landing like a totem. I’d been up and down those stairs enough to know the rhythm of the building—how the pipes sang at night, which door stuck in winter—but the little hallway outside 3B hit a chord I hadn’t heard before: silence so neat it felt deliberate.\n\nHer coat was still on the back of a chair, collar up like a small, pale stack of waves. No sign of forced entry, no overturned furniture, just the slow, inevitable disorder of someone who left thinking she’d be right back. I moved to the chair because detectives move where other people don’t: to pockets. Fingers downed in fabric, searching for lint and receipts and the kind of trash that forgets its own story.\n\nFolded twice, tucked in the inner pocket, was a drawing on cheap paper—crayon blue and stubborn as truth. A stick figure, two dots for eyes, and across the forehead a jagged line of darker crayon. At the bottom, in a child’s hurried script, the name: Jonah. My Jonah. The line across the forehead was the scar I got when I was eight and dared a chain-link fence like a daredevil out of hindsight. A scar nobody I worked with would know about; a scar I had never told anyone about.\n\nThe paper smelled faintly of rain and something waxy. I held it up to the single strip of window light and the crayon wax glowed like it had a pulse. The building hummed. Downstairs, someone laughed at nothing. In my chest, something rearranged—an old drawer opened, and a key I’d misplaced years ago slid into my hand. Not a clue so much as an accusation: someone had been in her pockets and had known the exact shape of my face.",
"refusal": null,
"role": "assistant"
}
}
],
"created": 1777320157,
"gatewayMetadata": {
"keySource": "Unified"
},
"id": "chatcmpl-DZMS5kOjcgUQY5W2AZnL6aYVk6pbG",
"model": "gpt-5-mini-2025-08-07",
"object": "chat.completion",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 1416,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 1024,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 19,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 1435
}
}Streaming Response — Enable streaming for real-time output
const response = await env.AI.run(
'openai/gpt-5-mini',
{
messages: [{ content: 'Explain the concept of recursion with a simple example.', role: 'user' }],
stream: true,
stream_options: { include_usage: true },
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/chat/completions \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"messages": [
{
"content": "Explain the concept of recursion with a simple example.",
"role": "user"
}
],
"stream": true,
"stream_options": {
"include_usage": true
}
}'Recursion is when a function calls itself to solve a smaller instance of the same problem. Two parts are essential:
- Base case: a simple instance that can be answered directly (stops recursion).
- Recursive case: reduces the problem toward the base case by calling the function again.
Simple example — factorial (n! = n × (n−1) × ... × 1)
Python:
def factorial(n):
if n == 0: # base case
return 1
else: # recursive case
return n * factorial(n - 1)
Trace for factorial(4):
factorial(4)
→ 4 * factorial(3)
→ 4 * (3 * factorial(2))
→ 4 * (3 * (2 * factorial(1)))
→ 4 * (3 * (2 * (1 * factorial(0))))
→ 4 * 3 * 2 * 1 * 1 = 24
Another simple example — sum of a list:
def sum_list(lst):
if not lst: # base case: empty list
return 0
return lst[0] + sum_list(lst[1:]) # recursive case
Notes:
- Always ensure the base case will be reached (otherwise you get infinite recursion and eventually a stack overflow).
- Recursion can make code clearer for problems that naturally break into smaller subproblems (tree traversal, divide-and-conquer). For very deep recursion, consider iterative solutions or tail recursion (if the language optimizes it). [
{
"choices": [
{
"delta": {
"content": "",
"refusal": null,
"role": "assistant"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "R7nTj",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Rec"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "tvLc",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "ursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " is"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "1Ilr",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " when"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8e",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " a"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "dH8Tf",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " function"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "j4BzeED7K5JhKL",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " calls"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "u",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " itself"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " to"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ezSt",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " solve"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "j",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " a"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "EId4G",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " smaller"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "fj9slNzo7phcmZD",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " instance"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "rDSJyqJJWlUmcw",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " of"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "iort",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "XSu",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " same"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Tl",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " problem"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "VUOCMAOFzu3SaQZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "."
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "whxtz6",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " Two"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Qmg",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " parts"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "i",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " are"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "vMK",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " essential"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "uuwXhZbFyzq3M",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "P2hO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "rmLNir",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " Base"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Y2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pu",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "tig2Ip",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " a"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JrE0u",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " simple"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " instance"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "OYTzqMTbQ22HCO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " that"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "NU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " can"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "PRp",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " be"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "eDGt",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " answered"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "MtazEOsfmnddc2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " directly"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "EMcKjVniBeEDwe",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "CaVAw",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "st"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "T6mNa",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "ops"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "mcrv",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8NAHS7sIjHx0O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ").\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zkA",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Mkd2KO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " Recursive"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JolliWlAzkLpQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "BE",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "HFq3jz",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " reduces"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "9EjbOrSxa1TlwyC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "0rS",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " problem"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Z0IsyQ3YDpSvmv4",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " toward"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "beP",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " base"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pM",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "iq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " by"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "7oiZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " calling"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "gHNFQc3FFHuYGEb",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zRD",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " function"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "UsDPExn7GxOKKu",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " again"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "w",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ".\n\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3X",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Simple"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "V",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " example"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "gAHJHCpG1O6lREH",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " —"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "p6mcq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "P2uqvn42w6DkE",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4dBe1",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "1y3dBU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "!"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "37JcC8",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ="
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "l6bRS",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "NlEOr",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ×"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "qr4pn",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "B7k2B",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "5XWhva",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "−"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "guQ0oM",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "IuusxO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zWgnsA",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ×"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "uFplF",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ..."
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ZI6",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ×"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "HLCsx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3tfXJZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "164iyh",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")\n\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "EN",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Python"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Y",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FpTE",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "def"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "9PuO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "qpePWEtCDXV6k",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "(n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "avz7O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "):\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "k6D",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jvTb",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " if"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4psb",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ojLhP",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " =="
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "cz4w",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "KWfCOZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "0"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "DASyhJ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "DVwSSy",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "2RiIfFnFeyb1e",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " #"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "EI8IQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " base"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "NX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zTIaz",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " return"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "HaSsHp",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "xAWKjx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "o7bKe",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "p0ke",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " else"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "az",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "oezfpd",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Rsz3GAFb",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " #"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "0CV5O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursive"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "GvYv8fzLfy7Vo",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "DX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "D9dUH",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " return"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Z0XJJ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pgthe",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "DBexYtDVG7jY1",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "(n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jodHC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " -"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jbAQG",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3GXIdh",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "6L6FHx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")\n\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "nV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Trace"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jF",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " for"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Rk8",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "A02NvbQP5oZ3T",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AuGm2Z",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "XQxdhI",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "):\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "wTQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "factor"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "x",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "ial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "7Z7S",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "kGXP2p",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Zq78yg",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pSZi",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "→"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "lm6EbI",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "dSVNhq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Qbk0JP",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "TttHL",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jHYAdStfKMAxe",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "X0J4EK",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "3"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "TzBc56",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "E0QV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "→"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "33Ck8A",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "0hOlBD",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "CShDQK",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "WCduF",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "SoaBx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "3"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4X47Df",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "1dVk2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "1jyGa86i83L3N",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "dI8OM1",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "2"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4y3OVV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "))\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FsT",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "→"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "QhQ9cX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "RjSCxx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JRomLs",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "0jyAl",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "gNOcw",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "3"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "UIYgVx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Uvg3J",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ilH8L",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "2"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "klhiRu",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Zn35J",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "skofIc3WnHdte",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4BA2LN",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JCiEOk",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")))\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "xT",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "→"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "NYYAzy",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AAnS67",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ogoVtp",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8z0CU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Ouu5B",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "3"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "OCjplf",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8vcMg",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "K16M6",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "2"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "UoRVwU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "hRUT1",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "UbChL",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "MPhcdk",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "OhmwD",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " factorial"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AhwJgWABNEd9i",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ZI5GE5",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "0"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3mYSmG",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "))))\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "V",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "→"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "0XxGjg",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "PEcru1",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "4"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AXFF82",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "06cLM",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "RGvV42",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "3"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jWhocH",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "5iT3G",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "WS1Cbj",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "2"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "R3xnEm",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "7Q1D7",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JJQKmK",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "BzzzzV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " *"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "cB1sA",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "9J3Ec2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jFksZ0",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ="
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3rYI6",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "nsikJQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "24"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "6GBVx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "mMT",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Another"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " simple"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " example"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AxiYefW5oCoELLX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " —"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AbFvt",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " sum"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "hT2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " of"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Xxxd",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " a"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zF1i8",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " list"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "9r",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3AT0",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "def"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "gNed",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " sum"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FQf",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "_list"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zJ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "(lst"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Xit",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "):\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "6CU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "PbC2",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " if"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "1iCC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " not"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "V1d",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " lst"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pri",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "kMxf2M",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "L6btXKjJjx4O3s",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " #"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "tI8Mq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " base"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "W8",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "rx",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "muzFin",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " empty"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "e",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " list"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8m",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "uJmcj",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " return"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "2lVYgB",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "0"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "sMrabS",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "aFnUH",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "foJZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " return"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " lst"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "twX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "["
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "LaWKjl",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "0"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "PYOHKv",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "]"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "s4WOlS",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " +"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "IftAq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " sum"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "yif",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "_list"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "lw",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "(lst"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "5bG",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "["
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "j2yicV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "1"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "zjtxeF",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Kom7dR",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "])"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "a9CwE",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " "
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "uEOkFC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " #"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Vjztl",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursive"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "B2kGGrlSmHRkF",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "5S",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "\n\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "yrC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "Notes"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "2O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ":\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "TdR0",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "amOZjL",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " Always"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ensure"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "g2O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " base"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "8s",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " case"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FX",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " will"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "v7",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " be"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "fgpq",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " reached"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "TdQPFkucFpeKx24",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "rF12B",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "otherwise"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "iIDf5BLwYbTUUQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " you"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "FrO",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " get"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "o9p",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " infinite"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "dsM0KlYJWzn6vZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "dTO6p2Dm6UuZ0",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " and"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ldP",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " eventually"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "xGFVDrq2d1Tz",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " a"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "XXkab",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " stack"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "E",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " overflow"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "yH3SjViqjdWvnZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ").\n"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "ECs",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "pOW433",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " Rec"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "fq8",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "ursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "h",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " can"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "oTQ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " make"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3C",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " code"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "uU",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " clearer"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "VGdWSIgRqAaLG9Q",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " for"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "AkW",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " problems"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4xo8f10od73pLZ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " that"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4l",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " naturally"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "KkUFOSdiLCp6x",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " break"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "d",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " into"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "2W",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " smaller"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "S457uwwsRao9560",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " sub"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Sdp",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "pro"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jtTj",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "blems"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "gR",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3nuMC",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "tree"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Wip",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " traversal"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "vnTLiR9qGXxCs",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ","
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "tD77uh",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " divide"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-and"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "08K",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "-con"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "YKW",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "quer"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "d25",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")."
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4BiAw",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " For"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "eeJ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " very"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "4O",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " deep"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "Ta",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "vEcv3oSwEdDKd",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ","
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "SLJ2Ik",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " consider"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "JqkToGTdTxQH3V",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " iterative"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "XkZc6HbTR6UYu",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " solutions"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "3veLWS7DPzRb3",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " or"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "BG4K",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " tail"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "30",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " recursion"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "OnI1KUaTaeRrV",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " ("
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "9Pjqc",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "if"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "jp03d",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " the"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "A3k",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " language"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "SsCZMtmSHGo7ET",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " optim"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "G",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": "izes"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "59v",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": " it"
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "5bJt",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {
"content": ")."
},
"finish_reason": null,
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "P8GGs",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [
{
"delta": {},
"finish_reason": "stop",
"index": 0
}
],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "U",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": null
},
{
"choices": [],
"created": 1777320181,
"id": "chatcmpl-DZMSTkAwp2vWq2CMKZi2k62kKUAsk",
"model": "gpt-5-mini-2025-08-07",
"obfuscation": "mJ",
"object": "chat.completion.chunk",
"service_tier": "default",
"system_fingerprint": null,
"usage": {
"completion_tokens": 711,
"completion_tokens_details": {
"accepted_prediction_tokens": 0,
"audio_tokens": 0,
"reasoning_tokens": 384,
"rejected_prediction_tokens": 0
},
"prompt_tokens": 16,
"prompt_tokens_details": {
"audio_tokens": 0,
"cached_tokens": 0
},
"total_tokens": 727
}
}
]Web Search — Letting the model use OpenAI's built-in web search tool to answer with current information
const response = await env.AI.run(
'openai/gpt-5-mini',
{
input: 'What were the top news stories about Cloudflare this week? Summarise in three bullets.',
max_output_tokens: 4096,
tools: [{ type: 'web_search_preview' }],
},
)
console.log(response)curl https://api.cloudflare.com/client/v4/accounts/$CLOUDFLARE_ACCOUNT_ID/ai/v1/responses \
--header "Authorization: Bearer $CLOUDFLARE_API_TOKEN" \
--header "Content-Type: application/json" \
--data '{
"model": "openai/gpt-5-mini",
"input": "What were the top news stories about Cloudflare this week? Summarise in three bullets.",
"max_output_tokens": 4096,
"tools": [
{
"type": "web_search_preview"
}
]
}'Do you mean this calendar week (June 16–22, 2026)? Assuming yes — here are the three top Cloudflare stories from June 16–22, 2026: - Jun 22, 2026 — Eastern North America fiber cut caused increased error rates/latency and a partial degradation across Cloudflare services; engineers re‑routed traffic and mitigated most impact. ([cloudflarestatus.com](https://www.cloudflarestatus.com/)) - Jun 16, 2026 — Cloudflare reported degraded availability for some Workers AI models (affecting specific @cf/moonshotai models), which Cloudflare investigated and partially mitigated. ([cloudflarestatus.com](https://www.cloudflarestatus.com/)) - Jun 17–18, 2026 — Cloudflare launched a Cloudflare One “Design Partner” designation and an AI‑powered toolkit (Cloudflare One Stack) to speed SASE/Zero‑Trust and AI security migrations via select channel partners. ([itpro.com](https://www.itpro.com/technology/artificial-intelligence/cloudflare-launches-new-partner-initiative-to-support-ai-and-sase-adoption?utm_source=openai)) Want me to expand any item (impacts, affected customers, timelines) or fetch more sources?
{
"id": "resp_0353bf77a6c21bf8016a3990db5a388199857704943aa2bb92",
"object": "response",
"created_at": 1782157531,
"model": "gpt-5-mini-2025-08-07",
"output": [
{
"id": "rs_0353bf77a6c21bf8016a3990dbc7748199b7d16f5b4f7e77ca",
"type": "reasoning",
"content": [],
"summary": []
},
{
"id": "ws_0353bf77a6c21bf8016a3990ddd1c4819998796587f7fb4927",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "search",
"queries": [
"Cloudflare news June 2026",
"Cloudflare this week June 2026 news Cloudflare breach outage June 2026",
"Cloudflare IPO news 2026 June 'Cloudflare' 'June 2026' 'announcement'"
],
"query": "Cloudflare news June 2026"
}
},
{
"id": "rs_0353bf77a6c21bf8016a3990df53dc81999d07483ac94d8c85",
"type": "reasoning",
"content": [],
"summary": []
},
{
"id": "ws_0353bf77a6c21bf8016a3990e126588199944c35eb4b3ce827",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "search",
"queries": [
"Cloudflare news June 2026",
"Cloudflare outage June 2026",
"Cloudflare security incident June 2026"
],
"query": "Cloudflare news June 2026"
}
},
{
"id": "rs_0353bf77a6c21bf8016a3990e34d508199a4144abcd991086c",
"type": "reasoning",
"content": [],
"summary": []
},
{
"id": "ws_0353bf77a6c21bf8016a3990e43d8c8199bc26696b72289725",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "open_page",
"url": "https://www.cloudflarestatus.com/"
}
},
{
"id": "rs_0353bf77a6c21bf8016a3990e59ae48199b6ba9d1f7337f25c",
"type": "reasoning",
"content": [],
"summary": []
},
{
"id": "ws_0353bf77a6c21bf8016a3990e9b440819998ba8376759a1a54",
"type": "web_search_call",
"status": "completed",
"action": {
"type": "search",
"queries": [
"Cloudflare One Design Partner AI toolkit announcement June 2026 Cloudflare press release",
"Cloudflare 'Design Partner' 'Cloudflare One' June 17 2026 press release"
],
"query": "Cloudflare One Design Partner AI toolkit announcement June 2026 Cloudflare press release"
}
},
{
"id": "rs_0353bf77a6c21bf8016a3990ec1a1481998070b84eb2a654a0",
"type": "reasoning",
"content": [],
"summary": []
},
{
"id": "msg_0353bf77a6c21bf8016a3990f499108199bd7021505470de8c",
"type": "message",
"status": "completed",
"content": [
{
"type": "output_text",
"annotations": [
{
"type": "url_citation",
"end_index": 386,
"start_index": 327,
"title": "Cloudflare Status",
"url": "https://www.cloudflarestatus.com/"
},
{
"type": "url_citation",
"end_index": 633,
"start_index": 574,
"title": "Cloudflare Status",
"url": "https://www.cloudflarestatus.com/"
},
{
"type": "url_citation",
"end_index": 1016,
"start_index": 852,
"title": "Cloudflare launches new partner initiative to support AI and SASE adoption",
"url": "https://www.itpro.com/technology/artificial-intelligence/cloudflare-launches-new-partner-initiative-to-support-ai-and-sase-adoption?utm_source=openai"
}
],
"logprobs": [],
"text": "Do you mean this calendar week (June 16–22, 2026)? Assuming yes — here are the three top Cloudflare stories from June 16–22, 2026:\n\n- Jun 22, 2026 — Eastern North America fiber cut caused increased error rates/latency and a partial degradation across Cloudflare services; engineers re‑routed traffic and mitigated most impact. ([cloudflarestatus.com](https://www.cloudflarestatus.com/)) \n- Jun 16, 2026 — Cloudflare reported degraded availability for some Workers AI models (affecting specific @cf/moonshotai models), which Cloudflare investigated and partially mitigated. ([cloudflarestatus.com](https://www.cloudflarestatus.com/)) \n- Jun 17–18, 2026 — Cloudflare launched a Cloudflare One “Design Partner” designation and an AI‑powered toolkit (Cloudflare One Stack) to speed SASE/Zero‑Trust and AI security migrations via select channel partners. ([itpro.com](https://www.itpro.com/technology/artificial-intelligence/cloudflare-launches-new-partner-initiative-to-support-ai-and-sase-adoption?utm_source=openai))\n\nWant me to expand any item (impacts, affected customers, timelines) or fetch more sources?"
}
],
"role": "assistant"
}
],
"status": "completed",
"usage": {
"input_tokens": 19586,
"output_tokens": 1796,
"total_tokens": 21382,
"input_tokens_details": {
"cached_tokens": 0
},
"output_tokens_details": {
"reasoning_tokens": 1344
}
},
"background": false,
"billing": {
"payer": "developer"
},
"completed_at": 1782157560,
"error": null,
"frequency_penalty": 0,
"incomplete_details": null,
"instructions": null,
"max_output_tokens": 4096,
"max_tool_calls": null,
"moderation": null,
"parallel_tool_calls": true,
"presence_penalty": 0,
"previous_response_id": null,
"prompt_cache_key": null,
"prompt_cache_retention": "in_memory",
"reasoning": {
"context": "current_turn",
"effort": "medium",
"summary": null
},
"safety_identifier": null,
"service_tier": "default",
"store": false,
"temperature": 1,
"text": {
"format": {
"type": "text"
},
"verbosity": "medium"
},
"tool_choice": "auto",
"tools": [
{
"type": "web_search_preview",
"search_content_types": [
"text"
],
"search_context_size": "medium",
"user_location": {
"type": "approximate",
"city": null,
"country": "US",
"region": null,
"timezone": null
}
}
],
"top_logprobs": 0,
"top_p": 1,
"truncation": "disabled",
"user": null,
"metadata": {},
"gatewayMetadata": {
"keySource": "Unified"
}
}Parameters
▶input
one ofrequiredinstructions
stringtemperature
numberminimum: 0maximum: 2max_output_tokens
numberexclusiveMinimum: 0top_p
numberminimum: 0maximum: 1stream
boolean▶tools[]
arraytool_choice
▶text{}
object▶reasoning{}
object▶messages[]
arrayrequiredtemperature
numberminimum: 0maximum: 2max_tokens
numberexclusiveMinimum: 0max_completion_tokens
numberexclusiveMinimum: 0top_p
numberminimum: 0maximum: 1frequency_penalty
numberminimum: -2maximum: 2presence_penalty
numberminimum: -2maximum: 2stream
boolean▶stream_options{}
object▶tools[]
arraytool_choice
response_format
▶modalities[]
array▶audio{}
objectid
stringobject
stringconst: responsecreated_at
numbermodel
string▶output[]
arrayoutput_text
stringstatus
stringenum: in_progress, completed, failed, incomplete▶usage{}
objectid
stringobject
stringcreated
numbermodel
string▶choices[]
array▶usage{}
object