| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Say hello, briefly. |
| role | content | |
|---|---|---|
| [0] | ai | Hello! How can I help you today? |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | Say hello, briefly. |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 193 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "Say hello, briefly.",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:27 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 d18c8670421cff5c9fa297b260cb2814.cloudfront.net (CloudFront) |
| x-amz-cf-id | lSvW1kd81MsVzMagUCctRYD5a_W3hVmYLN5fFVermfgoHpdP1h3iFw== |
| x-amz-cf-pop | DEN53-P2 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | d589ed595e0e5d6ba41082cf59e7a53b |
{
"id": "4d9d89e9-3a7d-4d59-9c6b-9bd07e9fcbc4",
"object": "chat.completion",
"created": 1789336407,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Hello! \ud83d\udc4b",
"reasoning_content": "The user wants a brief hello. No tools needed."
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 48,
"completion_tokens": 16,
"total_tokens": 64,
"prompt_tokens_details": {
"cached_tokens": 0
},
"completion_tokens_details": {
"reasoning_tokens": 11
},
"prompt_cache_hit_tokens": 0,
"prompt_cache_miss_tokens": 48
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Hello! 👋 |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 447 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"enum": [
"bread",
"butter",
"chips",
"milk"
],
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:29 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 0ca89aa790ddfc1fc4c04f63c3cabae6.cloudfront.net (CloudFront) |
| x-amz-cf-id | 5XtbceEHP938ZeNaM6P3xbHxUg0R5UV_hWBxg7Hvn2X8Fjp80kqB-Q== |
| x-amz-cf-pop | DEN53-P4 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 40043e968a2080c79b8c5d587b0a09ef |
{
"id": "515a4c52-a924-4a9a-bda3-abc570727278",
"object": "chat.completion",
"created": 1789336408,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "",
"tool_calls": [
{
"index": 0,
"id": "call_00_ET_xmPSJSAoGVVsYBwLzL5p8414",
"type": "function",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 328,
"completion_tokens": 39,
"total_tokens": 367,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 200
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| role | content | |
|---|---|---|
| [0] | ai | Milk is 1.20. |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 447 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"enum": [
"bread",
"butter",
"chips",
"milk"
],
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:30 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 59b91fa5bb1f56f1a653604439afb430.cloudfront.net (CloudFront) |
| x-amz-cf-id | 2C34QOeypPPMgDetfWc1wz8bpjXml5vFYHqRH0MBEzZZJkMyhztCcw== |
| x-amz-cf-pop | DEN53-P6 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 7461a47f450f2883eeb12564f0648e21 |
{
"id": "b42179c3-f1e0-426c-a702-c9b09f908173",
"object": "chat.completion",
"created": 1789336410,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "",
"reasoning_content": "",
"tool_calls": [
{
"index": 0,
"id": "call_00_ET_GshirHg80vabxjtSwgdY6212",
"type": "function",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
"logprobs": null,
"finish_reason": "tool_calls"
}
],
"usage": {
"prompt_tokens": 328,
"completion_tokens": 39,
"total_tokens": 367,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 200
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | price_of({"item": "milk"}) |
| role | content | |
|---|---|---|
| [0] | system | You answer briefly and plainly. Use the tools you are given. |
| [1] | human | How much is milk? |
| [2] | ai | price_of({"item": "milk"}) |
| [3] | tool | 1.20 for milk |
| tool | description | schema |
|---|---|---|
| price_of | The current shelf price of an item, in pounds. | {"$defs": {"GroceryItem": {"enum": ["bread", "butter", "chips", "milk"], "type": "string"}}, "description": "The current shelf price of an item, in pounds.", "properties": {"item": {"$ref": "#/$defs/GroceryItem"}}, "required": ["item"], "title": "price_of", "type": "object"} |
| accept | application/json |
| accept-encoding | gzip, deflate, zstd |
| authorization | not recorded |
| connection | keep-alive |
| content-length | 722 |
| content-type | application/json |
| host | api.deepseek.com |
| user-agent | OpenAI/Python 3.6.0 |
| x-stainless-arch | arm64 |
| x-stainless-async | false |
| x-stainless-lang | python |
| x-stainless-os | MacOS |
| x-stainless-package-version | 3.6.0 |
| x-stainless-raw-response | true |
| x-stainless-read-timeout | 60.0 |
| x-stainless-retry-count | 0 |
| x-stainless-runtime | CPython |
| x-stainless-runtime-version | 3.14.7 |
{
"messages": [
{
"content": "You answer briefly and plainly. Use the tools you are given.",
"role": "system"
},
{
"content": "How much is milk?",
"role": "user"
},
{
"content": null,
"role": "assistant",
"tool_calls": [
{
"type": "function",
"id": "call_00_ET_GshirHg80vabxjtSwgdY6212",
"function": {
"name": "price_of",
"arguments": "{\"item\": \"milk\"}"
}
}
]
},
{
"content": "1.20 for milk",
"role": "tool",
"tool_call_id": "call_00_ET_GshirHg80vabxjtSwgdY6212"
}
],
"model": "deepseek-flash",
"stream": false,
"tools": [
{
"type": "function",
"function": {
"name": "price_of",
"description": "The current shelf price of an item, in pounds.",
"parameters": {
"properties": {
"item": {
"enum": [
"bread",
"butter",
"chips",
"milk"
],
"type": "string"
}
},
"required": [
"item"
],
"type": "object"
}
}
}
]
}| access-control-allow-credentials | true |
| connection | keep-alive |
| content-encoding | gzip |
| content-type | application/json |
| date | Sun, 13 Sep 2026 21:53:31 GMT |
| server | elb |
| strict-transport-security | max-age=31536000; includeSubDomains; preload |
| transfer-encoding | chunked |
| vary | origin, access-control-request-method, access-control-request-headers |
| via | 1.1 c11dc3a4786e038ddffb5e925a892302.cloudfront.net (CloudFront) |
| x-amz-cf-id | LY4aARvMlHSdJraExRM4ExVWjoIwen--aGBUS71N_TkXu1hN3zBcWg== |
| x-amz-cf-pop | DEN52-P3 |
| x-cache | Miss from cloudfront |
| x-content-type-options | nosniff |
| x-ds-trace-id | 0a82fce90c1c882dfb6c5a80a485dfdc |
{
"id": "c23ae1c3-c340-4035-9527-67fbf063fb24",
"object": "chat.completion",
"created": 1789336411,
"model": "deepseek-flash",
"choices": [
{
"index": 0,
"message": {
"role": "assistant",
"content": "Milk is \u00a31.20.",
"reasoning_content": ""
},
"logprobs": null,
"finish_reason": "stop"
}
],
"usage": {
"prompt_tokens": 384,
"completion_tokens": 9,
"total_tokens": 393,
"prompt_tokens_details": {
"cached_tokens": 128
},
"completion_tokens_details": {
"reasoning_tokens": 0
},
"prompt_cache_hit_tokens": 128,
"prompt_cache_miss_tokens": 256
},
"system_fingerprint": "aeb56401ca74e127821c4f9126dcb669"
}| role | content | |
|---|---|---|
| [0] | ai | Milk is £1.20. |