sourcegraph_amp_thread_usages
Per-provider and per-model usage for Sourcegraph Amp threads
-
id
Primary key - Unique identifier for the row.
-
thread_id
Foreign key - Reference to the Sourcegraph Amp thread.
-
provider
string - Provider identifier for the model usage bucket.
-
model
string - Model identifier for the usage bucket.
-
requests
number - Number of requests made to the provider and model.
-
input_tokens
number - Number of uncached input tokens.
-
output_tokens
number - Number of output tokens.
-
cache_read_input_tokens
number - Number of cache-read input tokens.
-
cache_creation_input_tokens
number - Number of cache-creation input tokens.
-
usage_usd
number - Cost in USD for this provider and model.