agentlytics 0.1.17 → 0.1.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/editors/codex.js +4 -2
- package/package.json +1 -1
- package/pricing.json +123 -1
package/editors/codex.js
CHANGED
|
@@ -376,9 +376,11 @@ function subtractRawUsage(current, previous) {
|
|
|
376
376
|
}
|
|
377
377
|
|
|
378
378
|
function convertToDelta(raw) {
|
|
379
|
+
const cacheRead = Math.min(raw.cached_input_tokens, raw.input_tokens);
|
|
380
|
+
const billableInput = Math.max(raw.input_tokens - cacheRead, 0);
|
|
379
381
|
return {
|
|
380
|
-
inputTokens:
|
|
381
|
-
cacheRead
|
|
382
|
+
inputTokens: billableInput,
|
|
383
|
+
cacheRead,
|
|
382
384
|
outputTokens: raw.output_tokens,
|
|
383
385
|
totalTokens: raw.total_tokens > 0 ? raw.total_tokens : raw.input_tokens + raw.output_tokens,
|
|
384
386
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agentlytics",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.18",
|
|
4
4
|
"description": "Comprehensive analytics dashboard for AI coding agents — Cursor, Windsurf, Claude Code, VS Code Copilot, Zed, Antigravity, OpenCode, Command Code",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
package/pricing.json
CHANGED
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"OpenAI": "developers.openai.com/api/docs/pricing",
|
|
7
7
|
"Google": "ai.google.dev/gemini-api/docs/pricing",
|
|
8
8
|
"xAI": "docs.x.ai/developers/models",
|
|
9
|
-
"DeepSeek": "api-docs.deepseek.com/quick_start/pricing"
|
|
9
|
+
"DeepSeek": "api-docs.deepseek.com/quick_start/pricing",
|
|
10
|
+
"Z.ai": "docs.z.ai/guides/overview/pricing",
|
|
11
|
+
"Zen": "opencode.ai/docs/zen/"
|
|
10
12
|
},
|
|
11
13
|
"lastVerified": "2026-03",
|
|
12
14
|
"notes": {
|
|
@@ -818,5 +820,125 @@
|
|
|
818
820
|
"output": 25,
|
|
819
821
|
"cacheRead": 1.25,
|
|
820
822
|
"cacheWrite": 0
|
|
823
|
+
},
|
|
824
|
+
"glm-5": {
|
|
825
|
+
"input": 1,
|
|
826
|
+
"output": 3.2,
|
|
827
|
+
"cacheRead": 0.2,
|
|
828
|
+
"cacheWrite": 0
|
|
829
|
+
},
|
|
830
|
+
"glm-5-code": {
|
|
831
|
+
"input": 1.2,
|
|
832
|
+
"output": 5,
|
|
833
|
+
"cacheRead": 0.3,
|
|
834
|
+
"cacheWrite": 0
|
|
835
|
+
},
|
|
836
|
+
"glm-4.7": {
|
|
837
|
+
"input": 0.6,
|
|
838
|
+
"output": 2.2,
|
|
839
|
+
"cacheRead": 0.11,
|
|
840
|
+
"cacheWrite": 0
|
|
841
|
+
},
|
|
842
|
+
"glm-4.7-flashx": {
|
|
843
|
+
"input": 0.07,
|
|
844
|
+
"output": 0.4,
|
|
845
|
+
"cacheRead": 0.01,
|
|
846
|
+
"cacheWrite": 0
|
|
847
|
+
},
|
|
848
|
+
"glm-4.6": {
|
|
849
|
+
"input": 0.6,
|
|
850
|
+
"output": 2.2,
|
|
851
|
+
"cacheRead": 0.11,
|
|
852
|
+
"cacheWrite": 0
|
|
853
|
+
},
|
|
854
|
+
"glm-4.5": {
|
|
855
|
+
"input": 0.6,
|
|
856
|
+
"output": 2.2,
|
|
857
|
+
"cacheRead": 0.11,
|
|
858
|
+
"cacheWrite": 0
|
|
859
|
+
},
|
|
860
|
+
"glm-4.5-x": {
|
|
861
|
+
"input": 2.2,
|
|
862
|
+
"output": 8.9,
|
|
863
|
+
"cacheRead": 0.45,
|
|
864
|
+
"cacheWrite": 0
|
|
865
|
+
},
|
|
866
|
+
"glm-4.5-air": {
|
|
867
|
+
"input": 0.2,
|
|
868
|
+
"output": 1.1,
|
|
869
|
+
"cacheRead": 0.03,
|
|
870
|
+
"cacheWrite": 0
|
|
871
|
+
},
|
|
872
|
+
"glm-4.5-airx": {
|
|
873
|
+
"input": 1.1,
|
|
874
|
+
"output": 4.5,
|
|
875
|
+
"cacheRead": 0.22,
|
|
876
|
+
"cacheWrite": 0
|
|
877
|
+
},
|
|
878
|
+
"glm-4-32b-0414-128k": {
|
|
879
|
+
"input": 0.1,
|
|
880
|
+
"output": 0.1,
|
|
881
|
+
"cacheRead": 0,
|
|
882
|
+
"cacheWrite": 0
|
|
883
|
+
},
|
|
884
|
+
"glm-4.7-flash": {
|
|
885
|
+
"input": 0,
|
|
886
|
+
"output": 0,
|
|
887
|
+
"cacheRead": 0,
|
|
888
|
+
"cacheWrite": 0
|
|
889
|
+
},
|
|
890
|
+
"glm-4.5-flash": {
|
|
891
|
+
"input": 0,
|
|
892
|
+
"output": 0,
|
|
893
|
+
"cacheRead": 0,
|
|
894
|
+
"cacheWrite": 0
|
|
895
|
+
},
|
|
896
|
+
"big-pickle": {
|
|
897
|
+
"input": 0,
|
|
898
|
+
"output": 0,
|
|
899
|
+
"cacheRead": 0,
|
|
900
|
+
"cacheWrite": 0
|
|
901
|
+
},
|
|
902
|
+
"minimax-m2.5-free": {
|
|
903
|
+
"input": 0,
|
|
904
|
+
"output": 0,
|
|
905
|
+
"cacheRead": 0,
|
|
906
|
+
"cacheWrite": 0
|
|
907
|
+
},
|
|
908
|
+
"minimax-m2.5": {
|
|
909
|
+
"input": 0.3,
|
|
910
|
+
"output": 1.2,
|
|
911
|
+
"cacheRead": 0.06,
|
|
912
|
+
"cacheWrite": 0.375
|
|
913
|
+
},
|
|
914
|
+
"minimax-m2.1": {
|
|
915
|
+
"input": 0.3,
|
|
916
|
+
"output": 1.2,
|
|
917
|
+
"cacheRead": 0.1,
|
|
918
|
+
"cacheWrite": 0
|
|
919
|
+
},
|
|
920
|
+
"kimi-k2.5": {
|
|
921
|
+
"input": 0.6,
|
|
922
|
+
"output": 3,
|
|
923
|
+
"cacheRead": 0.1,
|
|
924
|
+
"cacheWrite": 0
|
|
925
|
+
},
|
|
926
|
+
"kimi-k2-thinking": {
|
|
927
|
+
"input": 0.4,
|
|
928
|
+
"output": 2.5,
|
|
929
|
+
"cacheRead": 0,
|
|
930
|
+
"cacheWrite": 0
|
|
931
|
+
},
|
|
932
|
+
"kimi-k2": {
|
|
933
|
+
"input": 0.4,
|
|
934
|
+
"output": 2.5,
|
|
935
|
+
"cacheRead": 0,
|
|
936
|
+
"cacheWrite": 0
|
|
937
|
+
},
|
|
938
|
+
"qwen3-coder-480b": {
|
|
939
|
+
"input": 0.45,
|
|
940
|
+
"output": 1.5,
|
|
941
|
+
"cacheRead": 0,
|
|
942
|
+
"cacheWrite": 0
|
|
821
943
|
}
|
|
822
944
|
}
|